class person:
    name='xxx'
    age='xx'
    def __init__(self,name,age):
        self.age=age
        self.name=name
    def speak(self):
        print(self.name,' ',self.age)
class teacher (person):
    profession='xxx'
    title='xxx'
    course='xxx'
    def __init__(self,name,age,profession,title,course):
        person.__init__(self,name,age)
        self.course=course
        self.title=title
        self.profession=profession
    def speak(self):
         print('my name is ',self.name,', I am ',self.age,' years old, And my profession is ',self.profession,', my title is ',self.title,', my master course is ',self.course,'. thank you!')
s=teacher('wpf','42','computer science and technology','associate professor','Python progranmming desiging')
s.speak()